﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="PageCreate.aspx.cs" Inherits="CARMS.SysPage.PageCreate" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="5" cellspacing="3" border="0">
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" SkinID="LabelTitle" Text="Page ID"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtActionID" runat="server" Text="" MaxLength="50" Width="400px"></asp:TextBox>
            </td>
            <td>
                <span class="PanelRed"></span>
                <asp:RequiredFieldValidator runat="server" ControlToValidate="txtActionID" Display="None"
                    ErrorMessage="Page ID is required."> </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" SkinID="LabelTitle" Text="Page Name"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtActionName" runat="server" Text="" MaxLength="50" Width="400px"></asp:TextBox>
            </td>
            <td>
                <span class="PanelRed"></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtActionName"
                    Display="None" ErrorMessage="Page Name is required."> </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" SkinID="LabelTitle" Text="Parent ID"></asp:Label>
            </td>
            <td>
                <asp:DropDownList runat="server" ID="dplParentID" Width="400px">
                </asp:DropDownList>
            </td>
            <td>
                <span class="PanelRed"></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="dplParentID"
                    Display="None" ErrorMessage="Parent ID is required."> </asp:RequiredFieldValidator>
            </td>
        </tr>
           <tr>
            <td>
                <asp:Label ID="Label10" runat="server" SkinID="LabelTitle" Text="DBTableName"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDBTableName" runat="server" Text="" MaxLength="50" Width="400px"></asp:TextBox>
            </td>
            <td>
          
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label4" runat="server" SkinID="LabelTitle" Text="Navigator Url"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtNavigatorUrl" runat="server" Text="" MaxLength="500" Width="400px"></asp:TextBox>
            </td>
            <td>
                <span class="PanelRed"></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNavigatorUrl"
                    Display="None" ErrorMessage="Navigator Url is required."> </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label37" runat="server" SkinID="LabelTitle" Text="Image Url"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtImageUrl" runat="server" Text="" MaxLength="500" Width="400px"></asp:TextBox>
            </td>
            <td>
                <span class="PanelRed"></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtImageUrl"
                    Display="None" ErrorMessage="Image Url is required."> </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" SkinID="LabelTitle" Text="Active"></asp:Label>
            </td>
            <td>
                <asp:CheckBox runat="server" ID="chkActive" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" SkinID="LabelTitle" Text="Sort Index"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSortIndex" runat="server" Text="" MaxLength="50" Width="400px"></asp:TextBox>
            </td>
            <td>
                <span class="PanelRed"></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtSortIndex"
                    Display="None" ErrorMessage="Sort Index is required."> </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" SkinID="LabelTitle" Text="CreateDate"></asp:Label>
            </td>
            <td>
                <asp:Label ID="lblCreateDate" runat="server" SkinID="LabelTitle" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label8" runat="server" SkinID="LabelTitle" Text="Description"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDescription" runat="server" Text="" MaxLength="500" Width="400px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label9" runat="server" SkinID="LabelTitle" Text="Show Event Button"></asp:Label>
            </td>
            <td>
                <asp:CheckBox runat="server" ID="chkShowEventButton" />
            </td>
        </tr>
        <tr>
            <td>
            <asp:ValidationSummary runat="server" ShowMessageBox="true" ShowSummary="false" DisplayMode="List" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button runat="server" ID="btnSave" Text="Save" OnClick="btnSave_Click"  CausesValidation="true"/>
                <asp:Button runat="server" ID="btnReturn" Text="Return" OnClick="btnReturn_Click"  CausesValidation="false"/>
            </td>
        </tr>
    </table>
</asp:Content>
